/**
 * ****************************************************************************
 * Project: RoboBridge
 * ----------------------------------------------------------------------------
 * -------------------------- [c]2012 - KrawallMann ---------------------------
 * ---------------------- http://www.krawallmann.de.tc/ -----------------------
 * ****************************************************************************
 * File: RoboBridgeFactory.java Package: tc.de.krawallmann.robobridge Version:
 * 1.0 Author(s): KrawallMann
 * ****************************************************************************
 * Description:
 * ****************************************************************************
 */
package tc.de.krawallmann.robobridge;

import java.io.IOException;

import tc.de.krawallmann.robobridge.communication.lan.wlan.WLANCommunicationInterface;
import tc.de.krawallmann.robobridge.communication.lan.wlan.WLANRemoteDevice;

/**
 * A factory for creating RoboBridge objects.
 * 
 * @author KrawallMann
 * @version 1.0
 */
public final class RoboBridgeFactory {

	/**
	 * Creates a new RoboBridge object.
	 * 
	 * @return the RoboBridge
	 * @throws IOException
	 *             Signals that an I/O exception has occurred.
	 */
	public static RoboBridge<WLANRemoteDevice> createWLANBridge() throws IOException {
		final RoboBridge<WLANRemoteDevice> bridge =
				new RoboBridge<WLANRemoteDevice>(new WLANCommunicationInterface());
		return bridge;
	}

	/**
	 * Instantiates a new robo bridge factory.
	 */
	private RoboBridgeFactory() {
		super();
	}
}
